{% extends "light.twig" %}
{% block title %}ONKI: {{ vocab.title }}{% endblock %}

{% block content %}
  {% include 'vocab-search-nav-bar.twig' %}
<div id="vocab-content">
  {% if lang_supported == false %}
  <div id="lang-info" class="boxed">
    <h3>{{ lang_changed }}</h3>
  </div>
  {% endif %}
  <div id="vocab-info" class="boxed">
    <h3>{% trans "Vocabulary information" %}</h3>
    <br /> {% if vocab.info %}
    <table class="vocab-info-table">
			{% for key, value in vocab.info %}
			{% set keytrans = key %}
        <tr>
          <td>{{ keytrans|trans }} </td>
          <td>{{ value|raw }}</td>
        </tr>
			{% endfor %}
    </table>
		{% endif %}
    <h3 class='download-text'>{% trans %}Download this vocabulary in SKOS format:{% endtrans %}</h3>
    <a class="download-text" href="../../rest/v1/{{ vocab_id }}/data">RDF/XML<img src="{{ path_fix }}resource/pics/download.png" alt="&darr;"></a>
    
  </div>
</div>
{% endblock %}
